﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using WeddingEventManagement_API;

namespace WeddingEventManagementApp.Models
{
    public class Invoice_VM
    {
        public int InvoiceID { get; set; }

        [Required]
        public int EventID { get; set; }

        [Required]
        [DataType(DataType.DateTime)]
        public DateTime DueDate { get; set; }

        [DataType(DataType.DateTime)]
        public DateTime CreatedDate { get; set; }

        public string Notes { get; set; }

        public List<InvoiceItem> Items{ get; set; }
    }

    public class Payment_VM
    {
        public string EventName { get; set; }

        public int ClientID { get; set; }

        public int PaymentID { get; set; }

        public int InvoiceID { get; set; }

        public string Date { get; set; }

        public decimal Amount { get; set; }

        public string PaymentType { get; set; }

        public int? EventID { get; set; }

    }
}
